package com.zenchn.entity;

import com.zenchn.model.TSysWebStyleConfig;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 项目平台自定义映射表
 *
 * @author panbingqi
 * @date 2020/6/19 10:25
 */
@ApiModel(value = "项目平台自定义映射", description = "项目平台自定义映射对象")
public class WebStyleConfigDO extends TSysWebStyleConfig {

    private static final long serialVersionUID = -2446837514598864313L;

    @NotEmpty(message = "logo文件上传文件集合名称不能为空")
    @ApiModelProperty(value="logo 文件上传时 文件集合名称[platformConfigLogo]")
    private String logoFileSet;

    @NotEmpty(message = "icon文件上传文件集合名称不能为空")
    @ApiModelProperty(value="icon 文件上传时 文件集合名称[platformConfigIcon]")
    private String iconFileSet;

    @NotEmpty(message = "轮播图片文件上传文件集合名称不能为空")
    @ApiModelProperty(value="轮播图片文件上传时 文件集合名称[platformConfigCarouselImage]")
    private String carouselImageFileSet;

    @ApiModelProperty(value="删除的轮播图片ID列表")
    private List<String> delCarouselImageFileIdList;

    public String getLogoFileSet() {
        return logoFileSet;
    }

    public void setLogoFileSet(String logoFileSet) {
        this.logoFileSet = logoFileSet;
    }

    public String getIconFileSet() {
        return iconFileSet;
    }

    public void setIconFileSet(String iconFileSet) {
        this.iconFileSet = iconFileSet;
    }

    public String getCarouselImageFileSet() {
        return carouselImageFileSet;
    }

    public void setCarouselImageFileSet(String carouselImageFileSet) {
        this.carouselImageFileSet = carouselImageFileSet;
    }

    public List<String> getDelCarouselImageFileIdList() {
        return delCarouselImageFileIdList;
    }

    public void setDelCarouselImageFileIdList(List<String> delCarouselImageFileIdList) {
        this.delCarouselImageFileIdList = delCarouselImageFileIdList;
    }

    @Override
    public String toString() {
        return super.toString()+"WebStyleConfigDO{" +
                "logoFileSet='" + logoFileSet + '\'' +
                ", iconFileSet='" + iconFileSet + '\'' +
                ", carouselImageFileSet='" + carouselImageFileSet + '\'' +
                ", delCarouselImageFileIdList=" + delCarouselImageFileIdList +
                '}';
    }
}
